ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.Direct3D11 Namespace / CommonShaderStageBase Class / SetSamplers Method / SetSamplers(Int32,ComArray<SamplerState>) Method
Index into the device's zero-based array to which to set the array of sampler states.
An array of sampler state to set

In This Topic
    SetSamplers(Int32,ComArray<SamplerState>) Method
    In This Topic
    Sets an array of samplers to be used by the shader stage.
    Syntax
    'Declaration
     
    Public Overloads Sub SetSamplers( _
       ByVal slot As Integer, _
       ByVal samplers As ComArray(Of SamplerState) _
    ) 
    public void SetSamplers( 
       int slot,
       ComArray<SamplerState> samplers
    )

    Parameters

    slot
    Index into the device's zero-based array to which to set the array of sampler states.
    samplers
    An array of sampler state to set
    See Also